package com.neuedu.dao;

import com.neuedu.pojo.Business;
import com.neuedu.pojo.PageResult;

import java.util.List;

public interface BusinessDao {
    Integer addBus(String account, String password, String telephone, String contact) throws Exception;

    Business selectPar(String account, String password) throws Exception;

    List<Business> selectAll(String account, String telephone, String contact, String currentPage, String pageSize) throws Exception;

    Integer delBus(String id) throws Exception;

    Integer updateBus(String account, String password, String telephone, String contact, String id) throws Exception;

    Long selectCount() throws Exception;
}
